home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / 1.098 / net / ds5000.md / netConfig.c < prev    next >
C/C++ Source or Header  |  1991-03-19  |  1KB  |  38 lines

  1. /*
  2.  * netConfig.c --
  3.  *
  4.  *    Machine-type dependent initialization of the network interfaces.
  5.  *
  6.  * Copyright (C) 1987 Regents of the University of California
  7.  * Permission to use, copy, modify, and distribute this
  8.  * software and its documentation for any purpose and without
  9.  * fee is hereby granted, provided that the above copyright
  10.  * notice appear in all copies.  The University of California
  11.  * makes no representations about the suitability of this
  12.  * software for any purpose.  It is provided "as is" without
  13.  * express or implied warranty.
  14.  *
  15.  *
  16.  * $Header: /sprite/src/kernel/net/ds5000.md/RCS/netConfig.c,v 1.2 91/03/19 10:49:17 jhh Exp $ SPRITE (Berkeley)
  17.  */
  18.  
  19. #include <sprite.h>
  20. #include <net.h>
  21. #include <netInt.h>
  22. #include <netLEInt.h>
  23. #include <machAddrs.h>
  24.  
  25. /*
  26.  * Fields are name, unit, slot, virtual flag, vector, and init routine.
  27.  * For the ds5000 only the slot and init routine are used.
  28.  */
  29. Net_Interface netConfigInterfaces[] = {
  30.     {"LE", 0, (Address) 0, TRUE, -1, NetLEInit},
  31.     {"LE", 0, (Address) 1, TRUE, -1, NetLEInit},
  32.     {"LE", 0, (Address) 2, TRUE, -1, NetLEInit},
  33.     {"LE", 0, (Address) 6, TRUE, -1, NetLEInit},
  34. };
  35. int netNumConfigInterfaces = 
  36.         sizeof(netConfigInterfaces) / sizeof(Net_Interface);
  37.  
  38.